package cn.edu.hust.youth.tzb.service.db;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;

public class DbCommon {
	public static Connection getConnection() throws Exception {

			ConnSrcFactory factory = new ConnSrcFactory();
			ConnSrcIF connSrc = factory.getConnectionSrc();
			Connection conn = connSrc.getConnection();
			return conn;
		
	}

	
}
